package com.cy.springcloud.controllers;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: 网关自己的controller
 * @ClassName: GatewayController
 * @Author: chenyu
 * @Date: 2025/1/8 9:55
 */
@RestController
public class GatewayController {

    @RequestMapping("/api/local")
    public String hello() {
        int i = 10 / 0;
        return "exec the api gateway";
    }
}
